package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("cp_contact_unique_qr_code")
@ApiModel(value = "一客一码对象")
@EqualsAndHashCode(callSuper = true)
public class ContactUniqueQrCode extends BaseEntity<ContactUniqueQrCode> {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "联系人id")
    private Integer contactId;

    @ApiModelProperty(value = "企业成员id")
    private Integer employeeId;

    @ApiModelProperty(value = "专属二维码标识")
    private String state;

    @ApiModelProperty(value = "联系方式的配置id")
    private String configId;

    @ApiModelProperty(value = "本地联系我二维码")
    private String localQrCode;

    @ApiModelProperty(value = "客户专属二维码")
    private String uniqueQrCode;

    @ApiModelProperty(value = "素材id")
    private String mediaId;

    @ApiModelProperty(value = "1-创建记录但未获得联系我二维码 2-已获得联系我二维码")
    private Integer flag;

}
